package com.itheima.qiniuyun;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(QiniuyunKodoConfig.class)
public class QiniuyunKodoConfiguration {
    @Bean
    public QiniuyunKodoUtils qiniuyunKodoUtils(QiniuyunKodoConfig qiniuyunKodoConfig) {
        return new QiniuyunKodoUtils(qiniuyunKodoConfig );
    }
}
